package com.whyx.project.openapi.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;

/**
 * 808服务的配置文件
 */
@Configuration
@Service
public class JT808ServerConfig {

	@Value("${http.request.url}")
	private String httpRequestUrl;

	@Value("${jt808.server.port}")
	private int jt808ServerPort;

	@Value("${jt808.ftp.server}")
	private String jt808FtpServer;

	@Value("${jt808.ftp.port}")
	private int jt808FtpPort;

	@Value("${jt808.ftp.userName}")
	private String jt808FtpUserName;

	@Value("${jt808.ftp.password}")
	private String jt808FtpPassword;

	@Value("${jt808.ftp.basePath}")
	private String jt808FtpBasePath;

	@Value("${jt808.ftp.timeOut}")
	private int jt808FtpTimeOut;

	@Value("${jt808.adasService.ip}")
	private String adasServiceIp;

	@Value("${jt808.adasService.port}")
	private int adasServicePort;

	public String getHttpRequestUrl() {
		return httpRequestUrl;
	}

	public int getJt808ServerPort() {
		return jt808ServerPort;
	}

	public String getJt808FtpServer() {
		return jt808FtpServer;
	}

	public int getJt808FtpPort() {
		return jt808FtpPort;
	}

	public String getJt808FtpUserName() {
		return jt808FtpUserName;
	}

	public String getJt808FtpPassword() {
		return jt808FtpPassword;
	}

	public String getJt808FtpBasePath() {
		return jt808FtpBasePath;
	}

	public int getJt808FtpTimeOut() {
		return jt808FtpTimeOut;
	}

	public String getAdasServiceIp() {
		return adasServiceIp;
	}

	public int getAdasServicePort() {
		return adasServicePort;
	}
}
